*Robustness Check and Online Appendix

*Set environment
clear all
cd "/Users/keithpreble/Library/CloudStorage/Dropbox/Replication Files for FPA/"

*Load data set:
use "robustnest_check_data.dta", clear

*Declare panel data
xtset ccode year

*Model 1: One-way fixed effect
eststo M1: xtlogit sanctions_imposition lnlaggdpt polity2 ln_tpop ln_milex i.ColdWar cinc ln_total_trade, fe

*Model 2: Two-way fixed effects
eststo M2: xtlogit sanctions_imposition lnlaggdpt polity2 ln_tpop ln_milex i.ColdWar cinc ln_total_trade i.year, fe

*Model 3: Logistic regression
eststo M3: logit sanctions_imposition lnlaggdpt polity2 ln_tpop ln_milex i.ColdWar cinc ln_total_trade, robust
*127 instances of sanctions onset

*Generate regression table for screen:
esttab M3 M1 M2, se scalar(ll) bic aic pr2 compress replace label

*Generate regression table 1 for export:
esttab M3 M1 M2 using robchk_table1_alt.rtf, se scalar(ll) bic aic pr2 compress replace label
